package org.redrider.shop.domain
class History {
    Vehicle vehicle
    Date entrydate
    HistoryMapper hm

    Customer customer
    WorkOrder wo
    PartsOrder po
    static transients = ['customer','wo','po']
    static constraints = {
    }

    Customer getCustomer(){
        vehicle.owner
    }
}
